$(function () {

    //获取传输过来的数据
    var data = location.search;
    console.log(data);
 
    $.get("http://193.112.55.79:9090/api/getdiscountproduct"+data,function (res) {
          console.log(res);
          var commentList = template('commentTmp', {
            "arr": res.result
          });
          $('.cu-content').html(commentList);
    });
})